﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Utils.WeChat.PayResult
{
    public class WeChatResult
    {
        public string message { get; set; }

        public string code { get; set; }

        public static WeChatResult Ok()
        {
            return new WeChatResult()
            {
                code = "SUCCESS",
                message = "成功"
            };
        }

        public static WeChatResult Fail(string message)
        {
            return new WeChatResult()
            {
                code = "FAIL",
                message = message
            };
        }
    }
}
